﻿@namespace BootstrapBlazor.Components
@typeparam TValue
@inherits ButtonUploadBase<TValue>

@if (Style == UploadStyle.Avatar)
{
    <AvatarUpload TValue="TValue" AdditionalAttributes="@AdditionalAttributes" Accept="@Accept" DefaultFileList="@DefaultFileList" DisplayText="@DisplayText" IsDisabled="@IsDisabled" IsCircle="@IsCircle" ShowLabel="@ShowLabel" ShowProgress="@ShowProgress"  />
}
else if (Style == UploadStyle.ClickToUpload)
{
    <ButtonUpload TValue="TValue" />
}
else if (Style == UploadStyle.Card)
{
    <CardUpload TValue="TValue" />
}
else
{
    <InputUpload TValue="TValue" DisplayText="@DisplayText" />
}
